package org.cdivtc.exam.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.cdivtc.exam.entity.Students;
import org.cdivtc.exam.entity.Teachers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 教师账户信息表 Mapper 接口
 * </p>
 *
 * @author xiaogoudashuai
 * @since 2025-03-27
 */
public interface TeachersMapper extends BaseMapper<Teachers> {

    @Select("SELECT * FROM teachers WHERE account = #{account}")
    Teachers selectByAccount(@Param("account") String account);
}
